/**
 * 
 */
package com.lanswon.controller.admin;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**   
* 
* @ClassName: DemoController.java
* @Description: 该类的功能描述
*
* @version: v1.0.0
* @author: zm
* @date: 2018年5月4日 上午9:44:39 
*
*/
@Controller
@RequestMapping("admin/")
public class DemoController {
		
	@RequestMapping("demo")
	public String demo(HttpServletRequest request,HttpServletResponse response) {
		
		return "admin/demo";
	}
	@RequestMapping("text")
	public String text(HttpServletRequest request,HttpServletResponse response,
			String id,String username) {
		System.out.println(id);
		System.out.println(username);
		return "admin/text";
	}
	   
	@RequestMapping("ueditor")
	public String ueditor(HttpServletRequest request,HttpServletResponse response) {
		return "admin/article/ueditor";
	}
}
